package com.qfedu.edu.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaobobo
 * @title: UserController
 * @projectName CD-Java-FY-2401-Springboot-Parent
 * @description: TODO
 * @date 2024/9/9  9:26
 */
@RestController   //所有的接口返回JSON格式的数据
@SpringBootApplication
public class UserController {


    /**
     * 请求路径
     * @return
     */
    @GetMapping("test")
    public Object test() {
        return "第一个Helloworld程序执行完成";
    }



    public static void main(String[] args){
     SpringApplication.run(UserController.class,args);
    }


}
